//
//  HMOrdinaryCourseModel.m
//  优学荟管理系统
//
//  Created by 陈辉明 on 2017/12/25.
//  Copyright © 2017年 星道三好. All rights reserved.
//

#import "HMOrdinaryCourseModel.h"

@implementation HMOrdinaryCourseModel

- (instancetype)initWithDict : (NSDictionary*)dict{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}
+ (instancetype)HMOrdinaryCourseModelWithDict : (NSDictionary*)dict{
    return [[self alloc]initWithDict:dict];
}

-(void)setValue:(id)value forKey:(NSString *)key {
    if ([key isEqualToString:@"id"]) {
        self.Id = value;
    }else {
        [super setValue:value forKey:key];
    }
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

@end
